//package com.wsfPro.listener;
//
//import javax.servlet.ServletRequestEvent;
//import javax.servlet.ServletRequestListener;
//import javax.servlet.annotation.WebListener;
//import javax.servlet.http.HttpServletRequest;
//
///**
// * 这个ServletRequestListener监听器类是为了将所有request请求都携带上httpSession
// *
// * @author wsf
// */
//@WebListener
//public class RequestListener implements ServletRequestListener {
//  @Override
//  public void requestInitialized(ServletRequestEvent sre) {
//    // 将所有request请求都携带上httpSession
//    ((HttpServletRequest) sre.getServletRequest()).getSession();
//  }
//
//  public RequestListener() {}
//  @Override
//  public void requestDestroyed(ServletRequestEvent arg0) {}
//}
